package com.xdf.ecommerce;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 验证 nacos 功能的测试用模块，不在架构范围内，也不在业务范围内
 * web管理页面地址：http://192.168.0.122:8848/nacos/#/login
 * @author chanchaw
 * @create 2025-10-14 13:52
 */
@ServletComponentScan
@EnableCircuitBreaker // 启用 Hystrix
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class NacosClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(NacosClientApplication.class, args);
    }
}
